package com.wyj.chat.websocket_chat.utils;

import com.wyj.chat.websocket_chat.pojo.Information;

import java.util.Date;

/**
 * Create by wyj on 2018/4/14
 */
public class InformationUtils {

    public static Information initInformation() {
        // 没有用户id
        Information information = new Information();
        information.setAddress("");
        information.setBirthDate("");
        information.setSex("男");
        information.setPhone("");
        information.setIconPath("/img/head.png");
        Date date = new Date();
        information.setCreateTime(date.getTime());
        information.setOpTime(date.getTime());
        information.setIsValid(1);
        information.setLastVer(1);
        return information;
    }
}
